/**
 * Project: demo.web
 * 
 * File Created at 2009-9-28
 * $Id$
 * 
 * Copyright 2008 Alibaba.com Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Alibaba Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Alibaba.com.
 */
package com.alibaba.hello.controller;

import java.util.Map;

import com.alibaba.roma.web.servlet.result.View;
import com.alibaba.roma.web.servlet.result.WebResult;

/**
 * TODO Comment of WelcomeController
 * 
 * @author sesame.yangj
 */
public class WelcomeController {

    public void index(Map model) {
        model.put("hello", "Hello,Welcome to roma!");
    }

    public WebResult view() {
        return new View("index");
    }
}
